<template>
	<view>
		<view class="listen_header">
			<image class="listen_header_image" src="https://vkceyugu.cdn.bspapp.com/VKCEYUGU-83418c8b-2862-4eac-a6ec-bf64544c5621/cf0b47e3-6906-4da5-acc8-534a8fb4f0ca.jpg" mode="aspectFill"></image>
			<view class="listen_header_right">
				<view class="listen_header_title">文本过长省略文本过长省略文本过长省略</view>
				<view class="listen_header_subtitle">文本过长省略或文本过长换行显示文本过长省略或文本过长换行显示文本过长省略或文本过长换行显示</view>
			</view>
		</view>
		<view class="listen_item" v-for="(item,index) in listenList" :key="index" @click="jumpToPlayerPage()">
			<view class="listen_item_left">
				<view class="listen_item_number">{{ index + 1 }}</view>
				<view class="listen_item_title">这个是标题</view>
			</view>
			<image class="listen_item_image" src="../../../static/music_player/music_player_play.png" mode="aspectFill"></image>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				listenList: [],
			};
		},
		onLoad() {
			this.listenList = [
				{
					
				},
				{
					
				},
				{
					
				}
			]
		},
		methods:{
			jumpToPlayerPage() {
				uni.navigateTo({
					url:"../../playerModel/playmusic/playmusic"
				});
			},
			
		}
	}
</script>

<style lang="scss">
	/* 头部 */
	.listen_header {
		margin: 30rpx 30rpx 50rpx 30rpx;
		display: flex;
		justify-content: space-between;
	}
	
	.listen_header_image {
		width: 230rpx;
		height: 300rpx;
		border-radius: 10rpx;
		flex-shrink: 0;
	}
	
	.listen_header_right {
		margin-left: 20rpx;
	}
	
	.listen_header_title {
		color: #FFFFFF;
		font-size: 36rpx;
	}
	
	.listen_header_subtitle {
		margin-top: 30rpx;
		color: #969696;
		font-size: 28rpx;
	}
	
	/* 下面的列表 */
	.listen_item {
		background-color: #333333;
		margin: 30rpx;
		border-radius: 10rpx;
		display: flex;
		height: 120rpx;
		align-items: center;
		justify-content: space-between;
	}
	
	.listen_item_left {
		display: flex;
		align-items: center;
	}
	
	.listen_item_number {
		margin-left: 20rpx;
		color: #FFFFFF;
		font-size: 36rpx;
	}
	
	.listen_item_title {
		color: #FFFFFF;
		margin-left: 30rpx;
	}
	
	.listen_item_image {
		width: 50rpx;
		height: 50rpx;
		margin-right: 20rpx;
	}

</style>
